/*
 * SenderRaw.h
 *
 *  Created on: 01.11.2011
 *      Author: Pavel Sinay
 */

#ifndef SENDERRAW_H_
#define SENDERRAW_H_

#include <vector>
#include <string>

#include "Socket.h"

namespace net {

class SenderSocket : public Socket{
public:
	SenderSocket();
	virtual ~SenderSocket();

	void send(std::string const& host, unsigned short port,
			std::vector<char> const& tx_message, std::vector<char> &rx_message);

protected:

	void connectServer(std::string const& host, unsigned short port);
};

}

#endif /* SENDERRAW_H_ */
